package com.doraro.coal.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/errors")
public class ErrorsController {
    @GetMapping("404")
    public String page404(){
        return "error/404";
    }
    @GetMapping("500")
    public String page500(){
        return "error/500";
    }
}
